-
-
Notifications
You must be signed in to change notification settings - Fork 46.6k
Morris Postorder traversal #11775
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Morris Postorder traversal #11775
Conversation
Parameters: | ||
----------- | ||
node : TreeNode | ||
A node in the binary tree. | ||
|
||
Returns: | ||
-------- | ||
TreeNode: | ||
The successor of the node passed in the parameter | ||
""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Parameters: | |
----------- | |
node : TreeNode | |
A node in the binary tree. | |
Returns: | |
-------- | |
TreeNode: | |
The successor of the node passed in the parameter | |
""" | |
Parameters: | |
----------- | |
node: A node in the binary tree. | |
Returns: | |
-------- | |
The successor of the node passed in the parameter | |
""" |
See my comment on your previous PR: #11774 (comment)
|
||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tianyizheng02 I've implemented the changes you requested. Could you review them and let me know if there are any further adjustments needed? |
Describe your change:
Checklist: